<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--[if lt IE 7 ]> <html class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]>    <html class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]>    <html class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]>    <html class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
	<title>体检预约服务平台 - 医通在线</title>
	<link href="templates/css/global.css" rel="stylesheet" type="text/css" />
	<link href="templates/css/agency.css" rel="stylesheet" type="text/css" />
    <script src="templates/js/form.js" type="text/javascript"></script>
    <script src="templates/js/common.js" type="text/javascript"></script>
	<meta content="" name="Keywords">
	<meta name="description" content="" />
	<!--[if IE 6]>
	<script src="templates/js/ddpng.js" type="text/javascript"></script>
	<script type="text/javascript">DD_belatedPNG.fix('.ddpng');</script>
    <![endif]-->
        <script type="text/javascript">
    	function cancle_order(id){
    	if(confirm('确定取消预约么?') == false ){
	   return false;
	   }
    		window.location.href="<{$__URL__}>delappend&orderid="+id+"&js=1";
    	}
    </script>
</head>
<body>

<!--header st-->
<{include file="../templates/$newtpl/header.html"}>

<div class="row mb10 center_layout fix">
	<{include file="../templates/$newtpl/left.html"}>
	<div class="grid0 grid770">
		<div class="main_con main_nobd">
			<div class="subline subline_2 fix mb10">
				<h4>家属预约</h4>
				<h4>
					<span style="color:red; margin-left: 10px;">
						（若您要改约套餐，请取消后，再重新预约，或拨打400-820-6772-1-3）
					</span>
				</h4>
				<a class="link" href="<{$__URL__}>ownexpense">点此购买家属套餐</a></div>
			<div class="list_tab mb10">
				<ul class="fix">
					<li><a class="current" href="####">所有预约</a></li>
				</ul>
			</div>
			<table class="com_table table_gre mb10">
				<thead>
					<tr>
						<th width="80">订单号</th>
						<th width="200">套餐名称</th>
                        <th width="80">加项</th>
						<th width="80">预约人</th>
						<th width="80">预约日期</th>
						<th width="80">预约门店</th>
						<th width="80">预约状态</th>
						<th>操作</th>
					</tr>
				</thead>
				<{if $info|@count neq 0}>
				<{foreach from=$info item=ac_info}>
				<tbody>
					<tr>
						<td><{$ac_info.order_id}></td>
						<td>
						<{if $ac_info.p_url}>
							<a href="<{$ac_info.p_url}>" target="_blank"><{$ac_info.pname}></a>
						<{else}>
							<{$ac_info.pname}>
						<{/if}>
						</td>
                        <td>

							<{foreach from=$ac_info.jx_list key=key item=item name=store}>
								<{$item}><{if !$smarty.foreach.store.last}>,<{/if}>
						    <{/foreach}>

                        </td>
						<td><{if $ac_info.customer_name == ''}><font color="#FF0000">未预约</font><{else}><{$ac_info.customer_name}><{/if}></td>
						<td><{if $ac_info.yy_time==''}>未预约<{else}><{$ac_info.yy_time}><{/if}></td>
						<td><{if $ac_info.yy_time==''}>未预约<{else}><{$ac_info.store_name}><{/if}></td>
						<td>
						<{if $ac_info.status == 2}><font color="#FF0000">未预约</font><{else}>
						<{if $ac_info.append.append_status == 1}>已预约<{/if}>
						<{if $ac_info.append.append_status == 2}><font color="#0000FF">已改约</font><{/if}>
						<{if $ac_info.append.append_status == 3}><font color="#009900">已完成服务</font>
							<{if $ac_info.append.append_report_status > 1}>,报告已出<{/if}>
						<{/if}>
						<{if $ac_info.append.append_status == 4}>已取消<{/if}>
						<{/if}>
						</td>
						<td class="option">
						<{if $ac_info.status == 2}>
								<{if $ac_info.guoqi == 0}>
								<a href="<{$__URL__}>family_1&orderid=<{$ac_info.order_id}>" class="btn_org_td">立即预约</a>
							<{elseif $ac_info.guoqi == 1}>
								项目已过期
							<{else}>
								套餐已过期
							<{/if}>
						<{else}>
						<{if $ac_info.append.append_status == 1 }><a href="<{$__URL__}>appendinfo&id=<{$ac_info.append.append_id}>" class="blue">预约详情</a><{if $ac_info.append.append_luodan_status <>5}>
						<br>
						<{if $ac_info.luodan_status == 3 or $ac_info.luodan_status == 5 or $ac_info.luodan_status == 2 }>
						如需改约或取消预约，请致电全国客服热线400-820-6772-1-3
						<{else}>
							<{if $ac_info.guoqi == 0}>
								<a href="<{$__URL__}>editappend_family&id=<{$ac_info.append.append_id}>" class="btn_gre_td">立即改约</a>
							<{elseif $ac_info.guoqi == 1}>
								项目已过期
							<{else}>
								套餐已过期
							<{/if}>
						<{/if}>
						<{/if}><{/if}>
						<{if $ac_info.append.append_status == 2}><a href="<{$__URL__}>appendinfo&id=<{$ac_info.append.append_id}>" class="blue">预约详情</a><{if $ac_info.append.append_luodan_status <>5}>
						<br>
						<{if $ac_info.luodan_status == 3 or $ac_info.luodan_status == 5 or $ac_info.luodan_status == 2 }>
						如需改约或取消预约，请致电全国客服热线400-820-6772-1-3
						<{else}>
							<{if $ac_info.guoqi == 0}>
								<a href="<{$__URL__}>editappend_family&id=<{$ac_info.append.append_id}>" class="btn_gre_td">立即改约</a>
							<{elseif $ac_info.guoqi == 1}>
								项目已过期
							<{else}>
								套餐已过期
							<{/if}>
						<{/if}>
						<{/if}><{/if}>
						<{if $ac_info.append.append_status == 3}><a href="<{$__URL__}>appendinfo&id=<{$ac_info.append.append_id}>" class="blue">预约详情</a><{/if}>
						<{if $ac_info.append.append_status == 4}><font color="#FF0000">已取消</font><{/if}>
						<{/if}>
						</td>
					</tr>
				</tbody>
					<{/foreach}>
                <{else}>
                <tbody><tr >
                <td bgColor=#ffffff colspan="8" height="30px">&nbsp;&nbsp;
                    <a href="<{$__URL__}>ownexpense">请您先为您的家属购买体检套餐，再点击预约。<img src="../templates/images/family_buy.png" alt="为家属购买套餐" style="vertical-align: -7px;" /></a>
                </td></tr></tbody>
	            <{/if}>
			</table>
			<div class="page">
				<{$pagestring}>
			</div>

			<div class="tip_box1" style="margin-top:15px;">
				<h6>预约状态描述：</h6>
				<p style="color:#666666;">已预约：您已完成了您家属在线预约操作。<br>
		已改约：您已修改过您家属的预约信息并预约成功。<br>
		已完成服务：体检机构已确认您家属已完成了体检。<br>
		已完成服务，报告已出：您已可以在预约平台查询到您家属的电子报告。<br>
				</p>
			</div>
		</div>
	</div>

</div>

<{include file="../templates/$newtpl/foot.html"}>

<!--脚本如下-->
<script src="templates/js/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="templates/js/jquery.switchable2.min.js" type="text/javascript"></script>
<script src="templates/js/global.js" type="text/javascript"></script>

<script type="text/javascript">

	$('#slideBox .log_box').switchable({
		triggers: $('#slideBox .tab li a'),
		panels: '.tab_con',
		triggerType: 'click'
	});


</script>

</body>
</html>